home *** CD-ROM | disk | FTP | other *** search
/ Risc World 3 / Risc World 3.iso / SOFTWARE / ISSUE2 / PHANTASM / Others / !Polygon / !Help < prev    next >
Text File  |  1996-12-05  |  18KB  |  383 lines

  1. Polygon 1.11 (05-Dec-96)
  2.  
  3. Name:     ArtWorks Polygon module
  4. Purpose:  Handling regular polygon and star objects in ArtWorks
  5. Author:   Martin Würthner
  6. Requires: RISC OS 3.1 or higher, ArtWorks 1.138 or higher
  7. Status:   ShareWare (see [7] below for *new* registering details!!!)
  8.  
  9. 0) Preface
  10. ----------
  11.  
  12. Depending on whether you are upgrading from an earlier version of the module
  13. or whether you are a new user, you will be interested in different things.
  14. Make sure that in any case you read section [7] which contains the details
  15. for registering.
  16.  
  17. If you are upgrading from an earlier version of Polygon, read section 5.1 for
  18. a list of new features and changes.
  19.  
  20. Otherwise just go on reading:
  21.  
  22. Welcome to the first non-commercial ArtWorks plug-in module!
  23. ------------------------------------------------------------
  24.  
  25. This module provides a tool which allows you to create regular n-sided
  26. polygons and stars. At any time, you can simply change the position, the
  27. radius or the number of sides of any polygon object. By a single mouse-click
  28. you can also turn a polygon into a star and vice versa. This tool was inspired
  29. by CorelXARA's¹ QuickShape tool.
  30.  
  31. This module is ShareWare. You may copy it freely and give it away to anyone
  32. free of charge (see [7] below for a more detailed Copyright notice). However,
  33. if after a trial period of two weeks, you decide to keep it, you must register
  34. by sending £10 to me.
  35.  
  36. ** New ** When registering, you will also receive an exciting new ArtWorks module,
  37.           Intersect, which is reserved for registered users of Polygon exclusively.
  38.  
  39. Quick feature list of Polygon:
  40. * creation of regular n-sided polygons and stars (n in [3..49])
  41. * numeric and interactive editing facilities for polygons and stars: change
  42.   radius, number of sides, angle etc. at any time, turn polygons into stars
  43.   and vice versa
  44. * full integration with existing ArtWorks features (fill types, transformation
  45.   tools, Make shapes, perspective, envelope etc.), i.e. polygon objects behave
  46.   exactly like other ArtWorks shapes (ellipses, rectangles, rounded rectangles)
  47. * full support of ArtWorks undo system and EPS export and import
  48.  
  49.  
  50. 1) Installation
  51. ---------------
  52.  
  53. Copy the !Polygon application inside the !ArtWorks.Auto directory. (Shift
  54. double-click on !ArtWorks to open it, then double-click on the 'Auto' folder.
  55. Then drag the !Polygon application to the Filer window showing
  56. <something>.!ArtWorks.Auto in its title bar). This will cause ArtWorks to
  57. load the module automatically next time it is started.
  58.  
  59. If you are not using the 'Quick start' feature of ArtWorks, then this is it
  60. already. Otherwise (this is recognized by the fact the ArtWorks only displays
  61. one icon 'Quick start' when starting up) you have to go on:
  62.  
  63. If the 'Quick start' option is selected in the ArtWorks choices window you
  64. have to perform the following steps in order for ArtWorks to recognize the
  65. new module:
  66.  
  67. * Load ArtWorks
  68. * Open the ArtWorks choices window (icon bar menu 'Choices...', then click on
  69.   the ArtWorks icon in the ArtWorks global choices window)
  70. * Deselect 'Quick start' and click on 'Save'
  71. * Quit ArtWorks
  72. * Reload ArtWorks - while loading ArtWorks shows every module it loads, this
  73.   should now include the Polygon module. If ArtWorks displays an error message
  74.   like "Due to lack of memory one or more modules could not be loaded ..."
  75.   something has gone wrong and you should check whether you have correctly
  76.   installed the module.
  77. * Open the ArtWorks choices window again
  78. * Select 'Quick start' and click on 'Save'
  79.  
  80. If you ever should want to deinstall the module, remove the !Polygon
  81. directory from the !ArtWorks.Auto directory. Then, if you are using
  82. the 'Quick start' option, you must repeat the same steps above.
  83.  
  84.  
  85. 2) The Polygon module
  86. ---------------------
  87.  
  88. The Polygon module displays an additional tool, the Polygon tool,
  89. in the ArtWorks tool box. The tool's icon is a hexagon.
  90.  
  91. 2.1) Creating polygons and stars
  92.  
  93. While the Polygon tool is selected, the info bar displays the field 'Sides',
  94. 'CentreX', 'CentreY' and an option button 'Stellated'. At the moment, the
  95. most important field is 'Sides'. In this field, you can specify the number
  96. of sides (=number of corners) the polygon is supposed to have. The fields
  97. 'CentreX', 'CentreY' and 'Radius' are empty and can only be used to edit
  98. existing polygon objects.
  99.  
  100. To create a polygon, simply click inside the document and drag the pointer
  101. away from the position of the click. The click position will become the
  102. centre of the polygon. By dragging further away from the centre, you can
  103. increase the radius of the polygon.
  104.  
  105. Note that the mouse pointer also determines the position of one of the
  106. corners of the polygon so that you can effectively rotate the polygon while
  107. dragging. If you hold down Ctrl while dragging, the angle of the polygon is
  108. constrained to the current constraint angle (which can be set in the
  109. ArtWorks choices dialogue box).
  110.  
  111. As soon as you release the mouse buttons, the polygon object is created and
  112. will be rendered as a filled shape.
  113.  
  114. 2.2) Editing polygons and stars
  115.  
  116. Objects created by the Polygon tool are not simply path objects but belong to
  117. a specific object type "polygon" (similar to the way rectangle, rounded
  118. rectangle or ellipse objects are different from path objects). This means
  119. that you can apply attributes to them (fill colour, line colour, line width,
  120. graduated or radial fill etc.), but you cannot edit single corner points. To
  121. do so, you have to convert the polygon to a path object by choosing "Make
  122. shapes" from the "Lines/Shapes" menu or by pressing Ctrl-N.
  123.  
  124. The benefit of having a special polygon object is that you can edit the
  125. properties polygons after they have are created, e.g. you can simply select
  126. the polygon and change its number of sides by selecting the Polygon tool and
  127. entering a new value in the 'Sides' field and pressing Return (or clicking on
  128. the up/down arrows). You can also change its radius or the position of its
  129. centre by entering new values in the corresponding fields. This is very
  130. similar to the way e.g. the ellipse tool works. Also, you can always turn a
  131. polygon into a star and vice versa by selecting or deselecting the 'Stellated'
  132. option button. Of course, when you save a file containing polygons they can
  133. still be edited when you reload the file later.
  134.  
  135. 2.3) Editing using the polygon handles
  136.  
  137. A selected polygon object has got a handle at each corner point. If the
  138. object is stellated, each outer corner (i.e. the corners of the corresponding
  139. polygon) and each inner corner has got a handle. By dragging these, you can
  140. edit the polygon. Dragging the polygon corner handles (or the other corners
  141. of a star) allows you to scale and rotate the object quickly. Note that this
  142. rotates about the real centre of the polygon unlike the ArtWorks rotation tool
  143. that cannot know what the real centre of the object is.
  144.  
  145. If you hold down Ctrl while dragging one of the outer corner handles of a
  146. polygon, the polygon's angle is preserved while dragging (i.e. you change its
  147. radius only). Similarly, if you hold down Shift, the polygon's radius is
  148. preserved (i.e. it is only rotated). As these operations preserve the
  149. polygon's centre, they are to be preferred to using the standard scaling or
  150. rotation tools ArtWorks provides.
  151.  
  152. Using the inner corner handles of a stellated polygon you can change the
  153. inner radius of the star on its own. This is in contrast to dragging the outer
  154. corners of a star which changes both the outer and the inner radius (scaling
  155. the inner radius proportionally). However, if you drag the inner corners, only
  156. the inner radius is changed and the outer radius stays the same.
  157.  
  158. With Polygon 1.10 or higher you can drag the inner handles of stars to any
  159. position, not only towards the centre or away from it, so you can twist the
  160. star. If you want to preserve the degree of twisting and edit the inner radius
  161. only, hold down Ctrl while dragging the inner handle of the star. In order to
  162. reset the star to its default non-twisted state, click on the "Stellated" radio
  163. button twice.
  164.  
  165. By dragging the inner handle of stars you can create interesting self-
  166. intersecting stars which resemble spirograph shapes.
  167.  
  168. Note that by dragging the inner corners of a star further away from the
  169. centre than the outer corners of the star, you can turn the star "inside out",
  170. i.e. the inner radius becomes bigger than the outer radius. Conceptually,
  171. the former inner corners still remain "inner corners". This means that for
  172. such a polygon, dragging the handles further away from the centre change the
  173. outer radius while the corners nearer to the centre change both the outer and
  174. the inner radius.
  175.  
  176. 2.4) Saving and exporting
  177.  
  178. The approach chosen for polygon objects also has disadvantages: As polygons
  179. belong to a new object type, files containing polygons cannot be loaded in
  180. copies of ArtWorks without the Polygon module. More accurately, you can load
  181. the files and they will even be displayed correctly. However, trying to edit
  182. polygon objects without having the Polygon module will result in a number of
  183. anomalies which eventually mean that it should be avoided to load files with
  184. polygons into copies of ArtWorks without the Polygon module.
  185.  
  186. There are three possible workarounds for this problem:
  187.  
  188. a) Convert the polygons to shapes before saving the file (after saving
  189.    you can reconvert them to polygon objects using UNDO). To do this,
  190.    select all polygon objects and press Ctrl-N or choose "Make shapes"
  191.    from the "Lines/Shapes" menu.
  192.  
  193. Generally, a) is an absolutely safe approach. If you convert all polygons you
  194. create to shapes, you maintain absolute file compatibility with the original
  195. version of ArtWorks (but once you have done that, you can no longer use the
  196. editing facilities of the Polygon module).
  197.  
  198. b) Make sure you give away a copy of the Polygon module with every file
  199.    containing polygon objects. As the Polygon module is ShareWare, you
  200.    can give it away freely (see [7] below for a more detailed Copyright
  201.    notice). You may either give away the complete Polygon distribution
  202.    (so just keep a copy of the original archive for convenience) or the
  203.    *complete* !Polygon directory including this !Help file.
  204. c) Export as ArtWorks EPS. This will have the following effect:
  205.    * copies of ArtWorks which have the Polygon module installed will be able
  206.      to load the polygons as polygon objects
  207.    * copies of ArtWorks without the Polygon module will load the polygons
  208.      as path objects
  209.  
  210. Note that programs which only display ArtWorks files usually cope with
  211. polygon objects very well: Impression and Thumbnail happily display polygon
  212. objects. The same should apply to Ovation Pro, Composition or any other
  213. program which claims to read ArtWorks files. If you should experience any
  214. problems, try converting the polygons to shapes before exporting.
  215.  
  216. Note that polygons created with version 1.10 or later of the Polygon module
  217. are incompatible with older version of the module. Therefore when transferring
  218. files you must make sure that the destination copy of ArtWorks has Polygon 1.10
  219. (or higher) installed.
  220.  
  221.  
  222. 3) Other features
  223. -----------------
  224.  
  225. The module fully supports the Undo system of ArtWorks. The name of the
  226. operation is 'polygon', so the Menu will show 'Undo polygon' if your last
  227. operation was to create a polygon and 'Undo alter polygon' if your last
  228. operation was to change the properties of a polygon.
  229.  
  230. The module fully supports exporting polygon objects as ArtWorks EPS. This
  231. also means that all other export formats are supported as well, e.g.
  232. Illustrator and Corel Draw EPS. Note that if you reimport ArtWorks EPS
  233. real polygon objects are created if you have the Polygon module. If you
  234. do not have the Polygon module installed, only paths are created but no
  235. error is reported. Therefore, exporting as ArtWorks EPS is a safe way if
  236. you do not know whether the destination copy of ArtWorks has the Polygon
  237. module installed.
  238.  
  239. There is also a rather unexpected feature (which some people might call a
  240. bug): Scaling a polygon with the scaling aspect other than 100% does not
  241. work. That is, you can scale a polygon by any scaling factor, but you
  242. cannot scale differently in x- and y-direction. You are not prevented from
  243. doing so but the result is no longer a polygon, and as soon as you change
  244. any its properties (e.g. the radius), it will revert to a 1:1 aspect.
  245.  
  246.  
  247. 4) Take part in creating new ArtWorks modules!
  248. ----------------------------------------------
  249.  
  250. If you have some spare time and you are wondering what to do with it: What
  251. about writing a new ArtWorks module? You will need the ArtWorks SDK first,
  252. which costs about £40, but it is worth the money. Lots of documentation and
  253. most of the source code for the standard ArtWorks modules.
  254.  
  255. If you have really good ideas about what useful things an ArtWorks module
  256. could do, do not hesitate to contact me. I will try and collect everything
  257. the current user base of ArtWorks really needs.
  258.  
  259.  
  260. 5) History
  261. ----------
  262.  
  263. 5.1) New features
  264.  
  265. 5.1.1) New features of version 1.11
  266.  
  267. Polygon 1.10 and below were incompatible with the Precision Tool (available
  268. from CC) as the latter is using some codes which are in fact allocated
  269. to me. As it is improbable that there will be a fix for the Precision Tool
  270. I have applied for some new codes and modified all my modules to use these.
  271.  
  272. There is an important addition in this file: If you intend to register by
  273. sending a cheque please make sure you read the registering details below.
  274. Seach for "IMPORTANT".
  275.  
  276. 5.1.2) New features of version 1.10
  277.  
  278. Polygon 1.10 has one major new feature: When editing stars by dragging an
  279. inner handle, you can not only change the inner radius of the star but you
  280. can also twist it. Simply drag the inner handle to any position.
  281.  
  282. If you want to maintain the degree of twisting of a star while editing its
  283. inner radius, hold down Ctrl while dragging. If you want to reset a star
  284. to its default non-twisted state, click on the "Stellated" radio button
  285. twice.
  286.  
  287. Note that polygons created by version 1.10 of the Polygon module cannot
  288. be rendered correctly by old versions of the module (they appear twisted
  289. even if they are not). Of course, Polygon 1.10 can handle polygon objects
  290. created by older versions of the module.
  291.  
  292. 5.2) History list
  293.  
  294. Version 1.00 (06-10-96):
  295. - First version released to public
  296.  
  297. Version 1.01 (15-10-96):
  298. - Fixed bug with perspective and envelope. These should work now as
  299.   expected
  300.  
  301. Version 1.10 (23-11-96):
  302. - Corrected spelling mistake ("poygons" instead of "polygons")
  303. - fixed half of an EPS import bug (allows attribute handlers to apply their
  304.   attributes now); so imported polygons have the correct line colour now
  305.   but their fill colour is still not set correctly (note that this only
  306.   applies to the colour displayed when you select the fill colour tool,
  307.   the polygons are still displayed and printed correctly)
  308. - change of licence, see [7] below
  309. - included Intersect tutorial
  310. - the angular offset of stars can be edited by dragging any inner handle
  311.  
  312. Version 1.10 (05-12-96):
  313. - using gadget base &5500 now as Precision is using &5400 although this
  314.   base has in fact been allocated to me
  315. - added cheque details in section [7]
  316.  
  317. 6) Contacting me:
  318. -----------------
  319. Martin Wuerthner
  320. Jahnstrasse 18
  321. 71116 Gaertringen
  322. Germany
  323.  
  324. Phone: +49-7034-928986
  325. Fax:   +49-7034-928988
  326.  
  327. e-mail: wuerthne@trick.informatik.uni-stuttgart.de
  328.         (might expire in summer 97)
  329.  
  330.  
  331. 7) Copyright:
  332. -------------
  333. This ArtWorks module including all related files is Copyright 1996
  334. by Martin Würthner and is ShareWare.
  335.  
  336. This means that you may copy it freely provided that
  337. (a) all files of this ArtWorks module are distributed together without
  338.     modification
  339. (b) this application is not sold for profit without my explicit written
  340.     permission - you also have to apply for permission to distribute this
  341.     program on a CD if it is sold for profit or to distribute it together
  342.     with other commercial software
  343. I retain the copyright on all files.
  344.  
  345. You may use this module free of charge for a trial period of up to two
  346. weeks. If you then decide to go on using the module, you have to register.
  347. Otherwise, you have to deinstall the module.
  348.  
  349. In order to register, send £10 (or your country's equivalent of this sum)
  350. to me (for my address see [6]).  You may send cheques (drawn from UK or
  351. German banks only), Euro cheques or bank notes (any currency).
  352.  
  353. IMPORTANT: If you send a normal cheque, please make it payable to "ExpLAN
  354.            Computers Ltd." and *not* to me. If you send a Eurocheque, make
  355.            it payable to me. I cannot accept cheques drawn from banks
  356.            outside Germany and Great Britain.
  357.  
  358. As a registered user, you are allowed to use the software on one stand-alone
  359. machine and you are entitled to receive free upgrades as they become
  360. available by sending a self-addressed envelope containing a formatted disc to
  361. me. Alternatively, upgrades may be requested by e-mail.
  362.  
  363. Every registered user of Polygon will be sent the brand-new Intersect module
  364. which allows you to intersect shapes. Using this module you can create many
  365. interesting effects, including hatching, pattern filling and transparency
  366. effects. Intersect is *not* ShareWare, so the only way to get it legally is
  367. to register for the Polygon module.
  368.  
  369. If you are a professional or educational user then you must obtain a special
  370. licence which is £25. Note that it is illegal to use this software for
  371. commercial or educational purposes without this licence. The registration fee
  372. of £25 allows you to use the software on one stand-alone machine. A site-licence
  373. is £50 (unlimited number of machines at one site, i.e. at a single postal
  374. address). Note that whatever licence type you go for, the same licence applies
  375. to the Intersect module which you get free.
  376.  
  377. Remember that the development of ArtWorks modules is quite time-consuming and
  378. that it would never have been viable for a company to produce this piece of
  379. software. Therefore, support the development of further ArtWorks modules by
  380. registering.
  381.  
  382. ¹CorelXARA is a Trademark of Corel Corporation and Xara Ltd.
  383.